using Microsoft.Xna.Framework;
using Nim2D;

namespace ComponentEngine_12_2_2014 {

	internal class MyGame : Game {

		private readonly Engine Engine;


		public MyGame() {
			Engine = new Engine(this);
		}


		protected override void Initialize() {
			Engine.Initialize();
			base.Initialize();
		}


		protected override void LoadContent() {
			Engine.LoadContent();
			base.LoadContent();
		}


		protected override void UnloadContent() {
			Engine.UnloadContent();
			base.UnloadContent();
		}


		protected override void Update(GameTime gameTime) {
			Engine.Update(gameTime);
			base.Update(gameTime);
		}


		protected override void Draw(GameTime gameTime) {
			Engine.Draw(gameTime);
			base.Draw(gameTime);
		}

	}

}